import Vue from 'vue'
import Router from 'vue-router'
import Layouts from '@/components/Layouts'
import HelloWorld from '@/components/HelloWorld'
import About from '@/components/About'
import TestMouse from '@/components/TestMouse'
import TodoList from '@/components/TodoList'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/',
			name: 'Layouts',
			component: Layouts
		},
		{
			path: '/hello',
			name: 'HelloWorld',
			component: HelloWorld
		},
		{
			path: '/about',
			name: 'About',
			component: About
		},
    {
      path: '/testmouse',
      name: 'TestMouse',
      component: TestMouse
    },
    {
      path: '/todolist',
      name: 'TodoList',
      component: TodoList
    }
	]
})
